package com.ruoyi.system.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 用户反馈信息对象 sys_feedback
 * 
 * @author WJH
 * @date 2022-08-02
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysFeedback
{
    private static final long serialVersionUID = 1L;

    /** 反馈信息主键 */
    @TableField(exist = true)
    @TableId(type= IdType.AUTO)
    @ApiModelProperty(value =  "主键")
    private Long feedbackId;

    /** 反馈人Id */
    @com.ruoyi.common.core.annotation.Excel(name = "反馈人Id")
    @TableField(exist = true)
    @ApiModelProperty(value =  "反馈人Id")
    private Long userId;

    /** 反馈类型（0未解决问题 1处理不及时 2软件问题 3报修问题 4服务投诉 5其他问题反馈） */
    @com.ruoyi.common.core.annotation.Excel(name = "反馈类型")
    @TableField(exist = true)
    @ApiModelProperty(value =  "反馈类型（0未解决问题 1处理不及时 2软件问题 3报修问题 4服务投诉 5其他问题反馈）")
    private Integer feedbackType;

    /** 反馈内容 */
    @com.ruoyi.common.core.annotation.Excel(name = "反馈内容")
    @TableField(exist = true)
    @ApiModelProperty(value =  "反馈内容")
    private String content;

    /** 反馈图片 */
    @com.ruoyi.common.core.annotation.Excel(name = "反馈图片")
    @TableField(exist = true)
    @ApiModelProperty(value =  "反馈图片")
    private String images;

    /** 创建时间 */
    @com.ruoyi.common.core.annotation.Excel(name = "创建时间")
    @TableField(exist = true)
    @ApiModelProperty(value =  "创建时间")
    private Long createTime;

    /** 是否已处理 */
    @com.ruoyi.common.core.annotation.Excel(name = "是否已处理")
    @TableField(exist = true)
    @ApiModelProperty(value =  "是否已处理")
    private Integer isResolve;

    /** 处理结果 */
    @com.ruoyi.common.core.annotation.Excel(name = "处理结果")
    @TableField(exist = true)
    @ApiModelProperty(value =  "处理结果")
    private String resovleResult;

    public static final String FEEDBACK_ID="feedback_id";
    public static final String USER_ID="user_id";
    public static final String FEEDBACK_TYPE="feedback_type";
    public static final String CONTENT="content";
    public static final String IMAGES="images";
    public static final String CREATE_TIME="create_time";
    public static final String IS_RESOLVE="is_resolve";
    public static final String RESOVLE_RESULT="resovle_result";

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("feedbackId", getFeedbackId())
            .append("userId", getUserId())
            .append("content", getContent())
            .append("images", getImages())
            .append("createTime", getCreateTime())
            .append("isResolve", getIsResolve())
            .append("resovleResult", getResovleResult())
            .toString();
    }
}
